#include "computer.h"
#include <string.h>
#include <iostream>
using std::cout;
using std::endl;

void Computer::setBrand(const char * brand){
    strcpy(_brand, brand);
}

void Computer::setPrice(float price){
    _price = price;
}
void Computer::print(){
    cout << "_brand=" << _brand << ",_price=" << _price << endl;
}
